package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.domain.entity.ChatDetailsEntity;
import com.ym.medical.domain.entity.CommentRecordEntity;
import com.ym.medical.domain.entity.ConsultSummaryEntity;
import com.ym.medical.enums.UserSexEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 咨询订单-问诊详情
 *
 * @author: 李涛
 * @version: 2019年06月24日 14:58
 */
@Setter
@Getter
@ApiModel("咨询订单-问诊详情")
public class ConsultingOrderInfoVO {

    @ApiModelProperty("订单ID")
    private Long id;

    @ApiModelProperty("咨询用户ID")
    private Long patientId;

    @ApiModelProperty("患者姓名")
    private String patientName;

    @ApiModelProperty("用户头像")
    private String userHead;

    @ApiModelProperty("年龄")
    private String age;

    @ApiModelProperty("性别,KEY=UserSexEnum")
    @JsonSerialize(converter = UserSexEnum.Covert.class)
    private String gender;

    @ApiModelProperty("咨询内容")
    private String consultingContent;

    @ApiModelProperty("附件")
    private String attachment;

    @ApiModelProperty("接诊医生姓名")
    private String receivingDoctorName;

    @ApiModelProperty("接诊医生ID")
    private Long receivingDoctorId;

    @ApiModelProperty("接诊医生头像")
    private String receivingDoctorHead;

    @ApiModelProperty("咨询室ID。咨询室ID")
    private Long roomId;

    @ApiModelProperty("录音文件地址")
    private List<String> recordUrl;

    @ApiModelProperty("问诊记录")
    private List<ChatDetailsEntity> questionnaire;

    @ApiModelProperty("咨询总结")
    private List<ConsultSummaryEntity> consultationSummary;

    @ApiModelProperty("患者评价")
    private List<CommentRecordEntity> patientEvaluation;
}
